<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="tag" uri="com.sand.myTag" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/public.css" media="all">
</head>
<body>
<div class="layui-form layuimini-form">
    <div class="layui-form-item">
        <table style="width: 90%; margin:auto;">
            <tr>
                <td colspan="2">
                    <div class="layui-form-item">
                        <label class="layui-form-label ">小区名称:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${orderShow.communityName}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">房东姓名:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${orderShow.name}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">房东电话:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${orderShow.phone}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">租客姓名:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${orderShow.userName}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">租客电话:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${orderShow.userPhone}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">开始时间:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${orderShow.leaseEffectiveTime}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">结束时间:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${orderShow.leaseExpirationTime}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">租赁总金额:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${orderShow.totalRentalPrice}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">订单状态:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${orderShow.status==1?"已确认":"未确认"}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="align-content: center">
                    <div class="layui-form-item">
                        <label class="layui-form-label ">备注:</label>
                        <div class="layui-input-block">
                            <input type="text" id="remark" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>

<script src="${pageContext.request.contextPath}/layui/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script>
    layui.use(['form', 'table'], function () {
        var $ = layui.jquery,
            form = layui.form,
            table = layui.table;

        $("#remark").val("${orderShow.remark}")
    })
</script>

</body>
</html>